package com.clannad.eduservice.feign;

import com.clannad.commonutils.R;
import com.clannad.commonutils.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "service-ucenter",fallback = UcenterClientImpl.class)
@Component
public interface UcenterClient {

    @GetMapping("/educenter/ucenter/getInfoUc/{id}")
    UcenterMember getInfo(@PathVariable String id);
}
